SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '42b1fdd1bc276a543bf65f0aa0b272e8570c4780d1e412645ac5db732b88c283' 
  AND token = 'gA2MjNwmkusAYNI188Hpv1xzTqeF/c6PVsBV4+aHwls=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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