SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '958ad9eb54a608f40cea0640991461647dca19ebc4771211efc64ec8b8d366e1' 
  AND token = 'Q2+RsSme4b11m+L89EnkCJkd7Pe5A6KWhY+c5iHKAq0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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