SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b581d65eb894f58eb5ce9e6a9c4df579f19492f46b670e2de5d746da7a0d8866' 
  AND token = 'BrC0e2Sxv+wU7wwk/DYgpKwsrutjNJ9BbxV9eN5nGSY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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