SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8a1e2cde0f599462fa13862219ae22b6c4a0dd55ef99fc58fa828bf045204cfc' 
  AND token = 'NYgyELhXRe0Lin469Ml8E79bHh65K56tP0DqVCsDWts=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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