SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd21ade8b589a5a1b65fd51bd9ecad329e9fcb1eccbfff415852e8b575dfbf307' 
  AND token = 'FdRi7S/ZrssZKDyX7+R5qkvp8Rh6NjOQUx4NpeDvKgw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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