SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '278aa5c65a5f58ad65f9760705a865b72a35972766b78f87635d5eaedc0453b7' 
  AND token = 'OhpB0619BvzF0WoRPuUWcGRPFaacj+IqttrOUBUQw1k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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