SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b40a80c4b2416727a43bd4f78e925d557431920ce9c74309dc6657d4c4f0cded' 
  AND token = '+dHnlx/SGiwJ9N+Pijt2Qj7MXFuISfUymjFmxkJ2w1k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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