SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '17286d3d4415642aa4a92f5d23ab400f6bed4919451e0c2ac69007616f25c075' 
  AND token = 'GqwDrFnOLckVttxJpJuFCToDHLUvx4Jp4q4bIvHCojo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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