SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4e9095d4b51395ea57db8c2df6229180f40c5cc6a0cefbdbf72cb7ca417a1b35' 
  AND token = 'lDdv/edjeMUr2z8lfyJPcXwa7orvnh3VtFAVa5hmeU4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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