SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2fe050fd35e094de69add6226bc9e30383631ec18cfaafc7a672d8579412af79' 
  AND token = 'v7WywqKLtD3ecfU3m9douEC7LYY3zrB5WVxuAhZgjvU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}