SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c42cd7a0c24b94b6cf2a0e84c75d5fcf01bf849bd1f805cd5fed2f80b82a3f4f' 
  AND token = 'Z2qolcJZWJI7UI2aIH0B0Izs9CtM242fjOZk+iAX7D0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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