SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '712cac39bfb8c3817e917113a6e709748c10d774590d61afbddec3c710145650' 
  AND token = 'dwhp4xKBhxp1HxOtKAO1iIxx+ykbnSqUZk81itaeL6Q=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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