SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7e2a821b5394995af697e459199571421bfa7262489365de0dccfed774a6ed5e' 
  AND token = 'v+7Yu7r9sScn4Nf5qlyyYOl2SA0OwNXpZfU2sLYA+bk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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