SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bd1717bf9787f5b761ff994465ba8f6e5de18922c7be6ec6ddfbaf9fb6172960' 
  AND token = 'rLB0Maf9QwxAA+uLlQJGJAgZKsnrFw+kLZ3G92QPuNc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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