SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '17135c5ca46dd4525dc6d33f13fc33d0a0a1eec2febc368554cc316ef98e31dd' 
  AND token = 'lzwcxgzSdtLnpx/5+50+v2fwMNvcozEaxnxT0+DV8Qg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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