SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2a7970d9f15b8fcccc8e79f68190a312a7ec19911a6966f737716fe2bf9a3580' 
  AND token = '5AwapHKLaFVE7sdK8bkEVyjANnKtDvZIpZ5DXdAn5gY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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