SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5040f7004529b29a4d1d1f3208b002f356cc50ada473e9fe1ede7949be39734a' 
  AND token = 'BqQ9wY3morrRxlj23NdzWQEVjf4Hsg86YJjg8xWSCVo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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