SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '51eb583a0771bfe9f5f7f058a47cb8f2ccdf3bea8e74e35c771c914a9aff612f' 
  AND token = 'iLa8mEYt+8viMR18p1f5rHuDqCl523LCfEoOMHdpNQ8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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