SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3098e18b4ffeae8ac6c6854f393ded067e63a35f7c3da55eea45dd398d658e39' 
  AND token = 'Y0wrqpnBFxjzcSKnwSkxVPQGrJZByH85H5GjnfzovoQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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