SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b4c2d92167afaba37fc44f2fde522c0a450c45a0dfb9271b0e9ebbd1474c6e0f' 
  AND token = 'O9fB3T3Vwbt+5QFhgP/9kyudMclNFLR8HgEab/7Qe+Q=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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