SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c150657d079c9a1fef0d1c4c987e37e739d8c6df915115952c0cd82826f1e2e2' 
  AND token = 'bkItVzsk/NEr7vOq2K4UEw9z15Wvn5bXFtqwz4ZM2eQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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