SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0b87218bea0cf84c0c3693f357a7b9a85f684a0f902088fe9985ea280ddcca14' 
  AND token = 'egP0xmckp2TvGzN6eT2QxkczMNpSieJ5Qp6izywwcFE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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