SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c8f1cbaa2805c99465e4075407f723ffc654d26424f6ac3f76a4ef3047585c4e' 
  AND token = 'KvEnpH8F6Y21ZSEWufgg3vqNokZ7uHJFJzrP9yql9Uc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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