SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0b9452b2f99393dc1a897066fd0eb2777d5175775284370da98a4b54b3812f4d' 
  AND token = 'yCKWRW3Ovk/bFjOjXbJIncWouIdnLRsfpxaer8kwvDs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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