SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f5ab030a266ace08e1e1210d0a087865d7e359bef0fd5f0808bb41af1c9eb4e6' 
  AND token = 'gJgQSeiPuljKaFaVZ9zx2x2N9gmr3Vbda1Zpjsx6B+g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00079

JSON explain

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