SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c9c8467c9cfec4f5f33473e94dc50306079b69e32d38fdd9d9ea0d0e5a44f249' 
  AND token = 'kelALjapTcSXV3gJ6l0QkxRfjQSB1Cm63h4rF8RsMV0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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