SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1165ea475439fe2d749ac0997804e45c1c7a6ddc412f42755269ae32ffbc8e0b' 
  AND token = 'qoTH6DD4FYbIYAIW6ShGgo5OkiGDQRQpZEYbZPY3Vy0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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