SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '64bded90c44268f0f32c45ed8bc68ca958259c2e4d9cf11c3c97f523df64a91f' 
  AND token = 'TOTvpF6P52qlhAbr5BhS869Em3qFeHxPunrLqp03LPA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}