SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '40fde0f23a039b5a3d9e4ec19e5f6405595a1bf0b554e5ef975d819bbc3197a3' 
  AND token = 'y0/CIiyKAfFs/q7SrrbbhnTQPtGtcGxqcBTQbf88kx4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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