SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ed3a69979b7516be58a11e65bad3331461e696bd63b10b5d9f9581f07e0dd990' 
  AND token = '7LTDWJlE14dce0+VH3zuUILIR3ekliIf1uPCN4Inbmw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00058

JSON explain

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