SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '78f4be9e6c4ecbcc68ca05899b9346188094bfd375603e1b53b81dd2d6a32d5e' 
  AND token = 'D0MyfthGOQSW8ndXP3jSZNa4lbqNdfmpewi3X+fnz9k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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